<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>修改</title>
</head>
<body>
    <form th:action="@{/userType}" method="post">
        <input type="hidden" name="_method" value="put" />
        <!--th:if="${userType!=null}" -->
        <input type="hidden" name="typeId" th:value="${userType.typeId}">
        <label>角色名称</label><input type="text" name="typeName" th:value="${userType.typeName}">
        <input type="submit" value="修改">
    </form>
</body>
</html>